import React from 'react'

import {useRoutes} from 'react-router-dom'
import routes from './router/index.jsx'

export default function App() {
  let myRoute = useRoutes(routes)
  return (
    <>
      {myRoute}
    </>
  )
}
